package com.zyn.rsgl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zyn.rsgl.pojo.Holiday;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.util.Date;

@Mapper
public interface HolidayMapper extends BaseMapper<Holiday> {
    Holiday getHoliday(Date date);

    Holiday getHolidayByDate(LocalDate localDate);
}
